import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
Vue.config.productionTip = false
// 导入element-ui插件
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
//2导入axios
import axios from 'axios'
//挂载到vue原型中
Vue.prototype.$axios = axios
//设置项目基地址
axios.defaults.baseURL= "http://big-event-vue-api-t.itheima.net"
//3.导入全局css样式
import '@/assets/global.less'

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
